<%@page import="org.apache.commons.lang3.StringUtils"%>
<%@page import="itsm.isperp.framework.core.context.ContextHolder"%>
<%@ page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript">
	function submitLogin() {
		
		var uname=$("#f_account").val(),upassword=$("#f_pwd").val();
		
		if(uname==""||upassword==""){
			alert("请输入用户名和密码！");
			return false;
		}
		
		$("#loginBtn").val("登录中...");
		$("#loginBtn").attr("disabled",false); 
		
		$("#form_user").submit();
		return false;
	}
</script>
<form id="form_user" action="customer/help/user/logincheck"
	method="POST">
	<h2>登录运维服务平台</h2>
	<table style="width:310px">
		<tbody>
			<tr>

				<td><c:if test="${not empty error }">
						<div id="error_msg" class="error_msg">
							<label>${error }</label>
						</div>
					</c:if>
				</td>
			</tr>
			<tr>
				<td><label class="inputtitle" for="login_field"> 帐号 </label><input
					type="text" name="account" value="${account }" id="#f_account"
					class="TEXT" placeholder="帐号" value="">
				</td>
			</tr>
			<tr>

				<td><label class="inputtitle" for="f_pwd">登录密码 </label><input
					type="password" name="pwd" id="f_pwd" class="TEXT"></td>
			</tr>

			<tr class="buttons">


				<td><br> <input type="submit" id="loginBtn"
					onclick="submitLogin();" value="现在登录"
					style="border:none; background:#0396db;color:#fff;width:300px;height: 40px;cursor: pointer;"
					class="BUTTON SUBMIT">&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
		</tbody>
	</table>


</form>